--- Makefile.in.orig	2011-03-01 14:47:01.563001285 +0100
+++ Makefile.in	2011-03-01 14:50:20.735775586 +0100
@@ -830,7 +830,7 @@
 	$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
 
 install-exec-hook:
-	chmod u+s $(libexecdir)/rssh_chroot_helper
+	chmod u+s $(DESTDIR)/$(libexecdir)/rssh_chroot_helper
 
 rpm:	dist
 	rpmbuild -ta --sign $(base).tar.gz
